package com.google.zxing.client.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;

import com.google.zxing.client.android.history.HistoryManager;

public class UpdateBarCodeActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.update_barcode);
		historyManager = new HistoryManager(this);
		Intent intent =this.getIntent();
		int itemNumber = intent.getIntExtra(Intents.History.ITEM_NUMBER, -1);
		System.out.println("ID"+itemNumber);
	}
	
	private EditText barcode;
	
	private EditText amount ;
	
	private EditText shelfCode ;
	
	private EditText shelfNum ;
	
	private EditText checkAmount ;
	
	private HistoryManager historyManager;
	
	@Override
	protected void onResume() {
		super.onResume();
		barcode = (EditText)findViewById(R.id.barcode);
		amount = (EditText)findViewById(R.id.amount);
		shelfCode = (EditText)findViewById(R.id.shelfCode);
		shelfNum = (EditText)findViewById(R.id.shelfNum);
		checkAmount = (EditText)findViewById(R.id.checkAmount);
	}
	
}
